package com.nfit.shopmodel.dto.address;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * ClassName:AddressDto
 * Package:com.nfit.shopmodel.dto.address
 * Description
 *
 * @Author L
 * @Create 2024/12/29 3:33
 */
@Schema(description = "移动端地址管理添加或修改")
@Data
public class AddressDto {
    @Schema(description = "地址id")
    private Long id;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "收货人")
    private String receiver;
    @Schema(description = "联系方式")
    private String contact;
    @Schema(description = "省市区(前端展示)")
    private String fullLocation;
    @Schema(description = "省份编码(后端参数)")
    private Integer provinceCode;
    @Schema(description = "城市编码(后端参数)")
    private Integer cityCode;
    @Schema(description = "区/县编码(后端参数)")
    private Integer countyCode;
    @Schema(description = "详细地址")
    private String address;
    @Schema(description = "默认地址，1为是，0为否")
    private Integer isDefault;
}
